<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php include('seo.php'); ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/bootstrap.min.css">
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/font-awesome.min.css" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
<!--[if lt IE 9]>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->

<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<meta name="format-detection" content="telephone=no" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php wp_head(); ?>
</head>
<body>
<div id="wrap" class="fixed">
	<div id="header" class="fixed">
    	<div class="header fixed">
            <div class="top fixed">
                <a href="<?php bloginfo('siteurl'); ?>" id="logo" title="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>"><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?></a>
                <div class="searchbox top-search">
                    <form id="searchform" action="<?php bloginfo('home'); ?>" method="get">
                        <input type="text" class="input-search" value="<?php the_search_query(); ?>" title="site:www.ventusfan.com" name="s" id="s">
                        <input name="" type="submit" class="btn-search" value="搜索一下">
                    </form>
                </div>
            </div>
            <div class="menu">
                <?php 
                    $headerNav = '';
                    if (function_exists('wp_nav_menu')) {
                        $headerNav = wp_nav_menu( array( 'theme_location' => 'headernav', 'menu_class' => 'fixed', 'menu_id' => 'menu', 'echo' => false, 'fallback_cb' => '' ) );};
                    if ($headerNav == '') { ?>
                    <ul class="fixed">
                        <?php wp_list_categories('title_li=&depth=1'); ?>
                    </ul>
                <?php }
                    else echo($headerNav); 
                ?>
            </div>
        </div>
    </div>